package com.jrj.base;

import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;


/**
 *@author zhiming.li
 *@version createTime：2011-12-23 下午02:09:17
 */
public class CustomerRoutingDataSource  extends AbstractRoutingDataSource{

	@Override
	protected Object determineCurrentLookupKey() {
		return CustomerContextHolder.getCustomerType();
	}

}
